package com.exp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by P0015475 on 2015/9/11.
 */
@Controller
public class IndexController {
  /*  项目启动跳转登录页*/
     @RequestMapping("/")
     public String login(){
        return "login/login";
    }
    /*跳转到网站宣传页*/
    @RequestMapping("/dalianIndex")
    public String dalianIndex(){
      return "dalianIndex/dalianIndex";
    }
    /*跳转到用户注册页*/
    @RequestMapping("/register")
    public String register(){
        return "register/register";
    }
    /*跳转到商家注册页*/
    @RequestMapping("/businessRegister")
    public String businessRegister(){
        return "register/businessRegister";
    }
    /*跳转到商家管理主页*/
    @RequestMapping("/businessIndex")
    public String businessIndex(){
        return "businessIndex";
    }
    @RequestMapping("/businessWelcome")
    public String businessWelcome(){
        return "businessWelcome";
    }
    @RequestMapping("/businessNavbar")
    public String businessNavbar(){
        return "businessNavbar";
    }
    /*跳转到商店页*/
    @RequestMapping("/shopIndex")
    public String shopIndex(){
        return "shop/shopIndex";
    }
   /* 管理员后台数据主页面*/
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
    @RequestMapping("/welcome")
    public String welcome(){
        return "welcome";
    }
    @RequestMapping("/navbar")
    public String navbar(){
        return "navbar";
    }

}
